package com.mdd.admin.validate;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 申报类型参数
 * @author LikeAdmin
 */
@Data
@ApiModel("申报类型更新参数")
public class DeclarationTypeUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private Integer id;
    @NotNull(message = "typeField参数缺失")
    @ApiModelProperty(value = "字段属性")
    private String typeField;

    @NotNull(message = "typeName参数缺失")
    @ApiModelProperty(value = "申报类型")
    private String typeName;

    @ApiModelProperty(value = "修改人")
    private String modifier;

}
